package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * cences_identity_card
 * @author 
 */
@Data
@ApiModel("")
public class CencesIdentityCard implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 男
     */
    @ApiModelProperty("男")
    private Integer men;

    /**
     * 12岁以下
     */
    @ApiModelProperty("12岁以下")
    private Integer twelf;

    /**
     * 12-14岁
     */
    @ApiModelProperty("12-14岁")
    private Integer forteen;

    /**
     * 15-17岁
     */
    @ApiModelProperty("15-17岁")
    private Integer seventeen;

    /**
     * 18-22岁
     */
    @ApiModelProperty("18-22岁")
    private Integer twentyTwo;

    /**
     * 23-26岁
     */
    @ApiModelProperty("23-26岁")
    private Integer twentySix;

    /**
     * 27-30岁
     */
    @ApiModelProperty("27-30岁")
    private Integer thrity;

    /**
     * 31-40岁
     */
    @ApiModelProperty("31-40岁")
    private Integer forty;

    /**
     * 40岁以上
     */
    @ApiModelProperty("40岁以上")
    private Integer fortyPlus;

    /**
     * 女
     */
    @ApiModelProperty("女")
    private Integer women;

    private Integer total;

    private static final long serialVersionUID = 1L;

    public CencesIdentityCard(Integer time) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.men = 0;
        this.twelf = 0;
        this.forteen = 0;
        this.seventeen = 0;
        this.twentyTwo = 0;
        this.twentySix = 0;
        this.thrity = 0;
        this.forty = 0;
        this.fortyPlus = 0;
        this.women = 0;
        this.total = 0;
    }
}